package study.cv.opencv.support.utils;

import org.opencv.core.Mat;
import org.opencv.highgui.HighGui;

/**
 * 窗口
 */
public class WinUtils {

    public static void imShow(Mat image) {
        imShow("测试", image);
    }

    public static void imShow(String name, Mat image) {
        HighGui.imshow(name, image);
        HighGui.waitKey(0);
        HighGui.destroyAllWindows();
    }
}
